home *** CD-ROM | disk | FTP | other *** search
- Path: munnari.OZ.AU!metro!metro!news
- From: philip tomlinson <tomli_p@arch.su.edu.au>
- Newsgroups: comp.lang.c++
- Subject: Forward Declaration of a Particular Instance of Templated Class
- Date: Mon, 29 Jan 1996 17:13:41 +1100
- Organization: Information Services, The University of Sydney, NSW, Australia
- Distribution: inet
- Message-ID: <310C6595.7158@arch.su.edu.au>
- NNTP-Posting-Host: ossian.arch.su.edu.au
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b4 (X11; I; SunOS 5.4 sun4m)
-
- Hello,
-
- I'm using GCC on a Sparc and need a forward declaration of a particular
- instance of a templated class. How do I do this?
-
- ************
-
- /*Forward Declaration of the templated class*/
- template <class Type> class ACLASS;
-
-
- /*Forward declaration of ACLASS<int>*/
- ???What goes here?????
-
- /*The Class Declaration*/
- template <class Type>
- class ACLASS {
-
- ACLASS<int>* some_function():
- };
-
- *************
-
- Thanks for your help.
- --
- Philip Tomlinson
- Masters Student In Design Computing
- University of Sydney
- tomli_p@arch.su.edu.au
-